var 传送员 = {
    flags: 1,
    main: function () {
        var context =
            "<【比奇皇宫】/@传送员.HBMOVE>         <【比奇大省】/@传送员.JIANAN>         <【盟重土城】/@传送员.YASHU>\r\n"+
            "<【白日天门】/@传送员.SHADINDAO>      <【封魔神谷】/@传送员.JIANYU>         <【苍月海岛】/@传送员.HUANGCHENG> \r\n"+
            "<【银杏小村】/@传送员.XIAGU>          <【新手小村】/@传送员.HAIBIN>         <【毒蛇山谷】/@传送员.FENGDI> \r\n \r\n"+
            "\r\n "+
            "　                         全球各大城市秒达 \r\n"
        return context;
    },

    HBMOVE : function(){
        checkAndMoveMap("比奇皇宫",0,0);
    },
    JIANAN : function(){
        checkAndMoveMap("比奇省",255,330);
    },
    YASHU : function(){
        checkAndMoveMap("盟重土城",333,333);
    },
    checkAndMoveMap: function (mapName,x,y) {
        var u = $p0;
        if (u.getGlod() > 2000) {
            u.setGlod(u.getGlod()-2000);
            moveMap(u, mapName,x,y);
            sendMsg(u, 7, "咻~~~");
        } else {
            showDialog(u, "没钱不能上车");
        }
    }
}
